Optimal. Leaf size=164 \[ -\frac {2 b c d \left (c^2 d-9 e\right ) \sqrt {-1-c^2 x^2}}{9 \sqrt {-c^2 x^2}}+\frac {b c d^2 \sqrt {-1-c^2 x^2}}{9 x^2 \sqrt {-c^2 x^2}}-\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{3 x^3}-\frac {2 d e \left (a+b \text {csch}^{-1}(c x)\right )}{x}+e^2 x \left (a+b \text {csch}^{-1}(c x)\right )-\frac {b e^2 x \text {ArcTan}\left (\frac {c x}{\sqrt {-1-c^2 x^2}}\right )}{\sqrt {-c^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 164, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 7, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {276, 6437, 12,
1279, 462, 223, 209} \begin {gather*} -\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{3 x^3}-\frac {2 d e \left (a+b \text {csch}^{-1}(c x)\right )}{x}+e^2 x \left (a+b \text {csch}^{-1}(c x)\right )-\frac {b e^2 x \text {ArcTan}\left (\frac {c x}{\sqrt {-c^2 x^2-1}}\right )}{\sqrt {-c^2 x^2}}+\frac {b c d^2 \sqrt {-c^2 x^2-1}}{9 x^2 \sqrt {-c^2 x^2}}-\frac {2 b c d \sqrt {-c^2 x^2-1} \left (c^2 d-9 e\right )}{9 \sqrt {-c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 209
Rule 223
Rule 276
Rule 462
Rule 1279
Rule 6437
Rubi steps
\begin {align*} \int \frac {\left (d+e x^2\right )^2 \left (a+b \text {csch}^{-1}(c x)\right )}{x^4} \, dx &=-\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{3 x^3}-\frac {2 d e \left (a+b \text {csch}^{-1}(c x)\right )}{x}+e^2 x \left (a+b \text {csch}^{-1}(c x)\right )-\frac {(b c x) \int \frac {-d^2-6 d e x^2+3 e^2 x^4}{3 x^4 \sqrt {-1-c^2 x^2}} \, dx}{\sqrt {-c^2 x^2}}\\ &=-\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{3 x^3}-\frac {2 d e \left (a+b \text {csch}^{-1}(c x)\right )}{x}+e^2 x \left (a+b \text {csch}^{-1}(c x)\right )-\frac {(b c x) \int \frac {-d^2-6 d e x^2+3 e^2 x^4}{x^4 \sqrt {-1-c^2 x^2}} \, dx}{3 \sqrt {-c^2 x^2}}\\ &=\frac {b c d^2 \sqrt {-1-c^2 x^2}}{9 x^2 \sqrt {-c^2 x^2}}-\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{3 x^3}-\frac {2 d e \left (a+b \text {csch}^{-1}(c x)\right )}{x}+e^2 x \left (a+b \text {csch}^{-1}(c x)\right )-\frac {(b c x) \int \frac {2 d \left (c^2 d-9 e\right )+9 e^2 x^2}{x^2 \sqrt {-1-c^2 x^2}} \, dx}{9 \sqrt {-c^2 x^2}}\\ &=-\frac {2 b c d \left (c^2 d-9 e\right ) \sqrt {-1-c^2 x^2}}{9 \sqrt {-c^2 x^2}}+\frac {b c d^2 \sqrt {-1-c^2 x^2}}{9 x^2 \sqrt {-c^2 x^2}}-\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{3 x^3}-\frac {2 d e \left (a+b \text {csch}^{-1}(c x)\right )}{x}+e^2 x \left (a+b \text {csch}^{-1}(c x)\right )-\frac {\left (b c e^2 x\right ) \int \frac {1}{\sqrt {-1-c^2 x^2}} \, dx}{\sqrt {-c^2 x^2}}\\ &=-\frac {2 b c d \left (c^2 d-9 e\right ) \sqrt {-1-c^2 x^2}}{9 \sqrt {-c^2 x^2}}+\frac {b c d^2 \sqrt {-1-c^2 x^2}}{9 x^2 \sqrt {-c^2 x^2}}-\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{3 x^3}-\frac {2 d e \left (a+b \text {csch}^{-1}(c x)\right )}{x}+e^2 x \left (a+b \text {csch}^{-1}(c x)\right )-\frac {\left (b c e^2 x\right ) \text {Subst}\left (\int \frac {1}{1+c^2 x^2} \, dx,x,\frac {x}{\sqrt {-1-c^2 x^2}}\right )}{\sqrt {-c^2 x^2}}\\ &=-\frac {2 b c d \left (c^2 d-9 e\right ) \sqrt {-1-c^2 x^2}}{9 \sqrt {-c^2 x^2}}+\frac {b c d^2 \sqrt {-1-c^2 x^2}}{9 x^2 \sqrt {-c^2 x^2}}-\frac {d^2 \left (a+b \text {csch}^{-1}(c x)\right )}{3 x^3}-\frac {2 d e \left (a+b \text {csch}^{-1}(c x)\right )}{x}+e^2 x \left (a+b \text {csch}^{-1}(c x)\right )-\frac {b e^2 x \tan ^{-1}\left (\frac {c x}{\sqrt {-1-c^2 x^2}}\right )}{\sqrt {-c^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.16, size = 123, normalized size = 0.75 \begin {gather*} \frac {b c d \sqrt {1+\frac {1}{c^2 x^2}} x \left (d-2 c^2 d x^2+18 e x^2\right )-3 a \left (d^2+6 d e x^2-3 e^2 x^4\right )}{9 x^3}-\frac {b \left (d^2+6 d e x^2-3 e^2 x^4\right ) \text {csch}^{-1}(c x)}{3 x^3}+\frac {b e^2 \log \left (\left (1+\sqrt {1+\frac {1}{c^2 x^2}}\right ) x\right )}{c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.32, size = 190, normalized size = 1.16
method | result | size |
derivativedivides | \(c^{3} \left (\frac {a \left (e^{2} c x -\frac {c \,d^{2}}{3 x^{3}}-\frac {2 c d e}{x}\right )}{c^{4}}+\frac {b \left (\mathrm {arccsch}\left (c x \right ) e^{2} c x -\frac {\mathrm {arccsch}\left (c x \right ) c \,d^{2}}{3 x^{3}}-\frac {2 \,\mathrm {arccsch}\left (c x \right ) c d e}{x}+\frac {\sqrt {c^{2} x^{2}+1}\, \left (-2 \sqrt {c^{2} x^{2}+1}\, c^{6} d^{2} x^{2}+c^{4} d^{2} \sqrt {c^{2} x^{2}+1}+18 c^{4} d e \sqrt {c^{2} x^{2}+1}\, x^{2}+9 e^{2} \arcsinh \left (c x \right ) c^{3} x^{3}\right )}{9 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, c^{4} x^{4}}\right )}{c^{4}}\right )\) | \(190\) |
default | \(c^{3} \left (\frac {a \left (e^{2} c x -\frac {c \,d^{2}}{3 x^{3}}-\frac {2 c d e}{x}\right )}{c^{4}}+\frac {b \left (\mathrm {arccsch}\left (c x \right ) e^{2} c x -\frac {\mathrm {arccsch}\left (c x \right ) c \,d^{2}}{3 x^{3}}-\frac {2 \,\mathrm {arccsch}\left (c x \right ) c d e}{x}+\frac {\sqrt {c^{2} x^{2}+1}\, \left (-2 \sqrt {c^{2} x^{2}+1}\, c^{6} d^{2} x^{2}+c^{4} d^{2} \sqrt {c^{2} x^{2}+1}+18 c^{4} d e \sqrt {c^{2} x^{2}+1}\, x^{2}+9 e^{2} \arcsinh \left (c x \right ) c^{3} x^{3}\right )}{9 \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, c^{4} x^{4}}\right )}{c^{4}}\right )\) | \(190\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 152, normalized size = 0.93 \begin {gather*} \frac {1}{9} \, b d^{2} {\left (\frac {c^{4} {\left (\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {3}{2}} - 3 \, c^{4} \sqrt {\frac {1}{c^{2} x^{2}} + 1}}{c} - \frac {3 \, \operatorname {arcsch}\left (c x\right )}{x^{3}}\right )} + 2 \, {\left (c \sqrt {\frac {1}{c^{2} x^{2}} + 1} - \frac {\operatorname {arcsch}\left (c x\right )}{x}\right )} b d e + a x e^{2} + \frac {{\left (2 \, c x \operatorname {arcsch}\left (c x\right ) + \log \left (\sqrt {\frac {1}{c^{2} x^{2}} + 1} + 1\right ) - \log \left (\sqrt {\frac {1}{c^{2} x^{2}} + 1} - 1\right )\right )} b e^{2}}{2 \, c} - \frac {2 \, a d e}{x} - \frac {a d^{2}}{3 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 559 vs.
\(2 (146) = 292\).
time = 0.49, size = 559, normalized size = 3.41 \begin {gather*} -\frac {2 \, b c^{4} d^{2} x^{3} - 9 \, a c x^{4} \cosh \left (1\right )^{2} - 9 \, a c x^{4} \sinh \left (1\right )^{2} + 3 \, a c d^{2} - 18 \, {\left (b c^{2} d x^{3} - a c d x^{2}\right )} \cosh \left (1\right ) + 3 \, {\left (b c d^{2} x^{3} + 6 \, b c d x^{3} \cosh \left (1\right ) - 3 \, b c x^{3} \cosh \left (1\right )^{2} - 3 \, b c x^{3} \sinh \left (1\right )^{2} + 6 \, {\left (b c d x^{3} - b c x^{3} \cosh \left (1\right )\right )} \sinh \left (1\right )\right )} \log \left (c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x + 1\right ) + 9 \, {\left (b x^{3} \cosh \left (1\right )^{2} + 2 \, b x^{3} \cosh \left (1\right ) \sinh \left (1\right ) + b x^{3} \sinh \left (1\right )^{2}\right )} \log \left (c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x\right ) - 3 \, {\left (b c d^{2} x^{3} + 6 \, b c d x^{3} \cosh \left (1\right ) - 3 \, b c x^{3} \cosh \left (1\right )^{2} - 3 \, b c x^{3} \sinh \left (1\right )^{2} + 6 \, {\left (b c d x^{3} - b c x^{3} \cosh \left (1\right )\right )} \sinh \left (1\right )\right )} \log \left (c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x - 1\right ) - 3 \, {\left (b c d^{2} x^{3} - b c d^{2} + 3 \, {\left (b c x^{4} - b c x^{3}\right )} \cosh \left (1\right )^{2} + 3 \, {\left (b c x^{4} - b c x^{3}\right )} \sinh \left (1\right )^{2} + 6 \, {\left (b c d x^{3} - b c d x^{2}\right )} \cosh \left (1\right ) + 6 \, {\left (b c d x^{3} - b c d x^{2} + {\left (b c x^{4} - b c x^{3}\right )} \cosh \left (1\right )\right )} \sinh \left (1\right )\right )} \log \left (\frac {c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} + 1}{c x}\right ) - 18 \, {\left (b c^{2} d x^{3} + a c x^{4} \cosh \left (1\right ) - a c d x^{2}\right )} \sinh \left (1\right ) + {\left (2 \, b c^{4} d^{2} x^{3} - 18 \, b c^{2} d x^{3} \cosh \left (1\right ) - 18 \, b c^{2} d x^{3} \sinh \left (1\right ) - b c^{2} d^{2} x\right )} \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}}}{9 \, c x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \operatorname {acsch}{\left (c x \right )}\right ) \left (d + e x^{2}\right )^{2}}{x^{4}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (e\,x^2+d\right )}^2\,\left (a+b\,\mathrm {asinh}\left (\frac {1}{c\,x}\right )\right )}{x^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________